include ../Makefile.local

LD=$(CPP)

LDFLAGS += -lsfml-system -lsfml-window -lsfml-graphics

CPPFLAGS += -ansi -pedantic -Wall -Wextra


CPPFILES=$(wildcard *.cpp)

OBJS = $(CPPFILES:.cpp=.o)

all: main

../Makefile.local:
	touch ../Makefile.local

main: $(OBJS)
	$(LD) $(LDFLAGS) -o $@  $(OBJS)

clean:
	-rm *.o *~ main